首页> 外文OA文献 >Detecting broken pointcuts using structural commonality and degree of interest
【2h】

Detecting broken pointcuts using structural commonality and degree of interest

机译:使用结构通用性和兴趣度检测断点

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

Pointcut fragility is a well-documented problem in Aspect-Oriented Programming; changes to the base-code can lead to join points incorrectly falling in or out of the scope of pointcuts. Deciding which pointcuts have broken due to base-code changes is a daunting venture, especially in large and complex systems. We present an automated approach that recommends pointcuts that are likely to require modification due to a particular base-code change, as well as ones that do not. Our hypothesis is that join points selected by a pointcut exhibit common structural characteristics. Patterns describing such commonality are used to recommend pointcuts that have potentially broken with a degree of confidence as the developer is typing. The approach is implemented as an extension to the popular Mylyn Eclipse IDE plug-in, which maintains focused contexts of entities relevant to the task at hand using a Degree of Interest (DOI) model. We show that it is accurate in revealing broken pointcuts by applying it to multiple versions of several open source projects and evaluating the quality of the recommendations produced against actual modifications. We found that our tool made broken pointcuts 2.14 times more interesting in the DOI model than unbroken ones, with a p-value under 0.1, indicating a significant difference in final DOI value between the two kinds of pointcuts (i.e., broken and unbroken).
机译:切入点易碎性在面向方面的编程中是一个有据可查的问题。对基本代码的更改可能导致连接点错误地落入切入点范围之内或之外。确定哪些切入点由于基本代码更改而中断,这是一项艰巨的任务,尤其是在大型和复杂的系统中。我们提出了一种自动化的方法,该方法推荐因特定的基本代码更改而可能需要修改的切入点,以及不需要切入点的切入点。我们的假设是,切入点选择的连接点具有共同的结构特征。描述这种共通性的模式用于推荐切入点,这些切入点在开发人员键入内容时可能会以一定的置信度破坏。该方法是对流行的Mylyn Eclipse IDE插件的扩展,该插件使用兴趣度(DOI)模型维护与当前任务相关的实体的聚焦上下文。通过将其应用于多个开源项目的多个版本并评估针对实际修改产生的建议的质量,我们证明了它是揭示残破切入点的准确方法。我们发现我们的工具在DOI模型中使断点的兴趣比未断点的兴趣高2.14倍,p值小于0.1,表明两种切点之间的最终DOI值存在显着差异(即断点和不断点)。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
代理获取

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号